package leetcode.code0414;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution414 implements IDebug {

	public abstract int thirdMax(int[] nums);

	@Override
	public void debug1() {
		String str = "[3,2,1]";
		int e = 1;
		int r = this.thirdMax(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[1,2]";
		int e = 2;
		int r = this.thirdMax(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		String str = "[2,2,3,1]";
		int e = 1;
		int r = this.thirdMax(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		String str = "[1,2,2,5,3,5]";
		int e = 2;
		int r = this.thirdMax(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}
	public void debug5() {
		String str = "[5,2,2]";
		int e = 5;
		int r = this.thirdMax(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

}
